package com.xidian.zhiancloud.dao.riskcontrol.risksystem;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.xidian.zhiancloud.model.riskcontrol.TWarSignCategoryStatusList;
import com.xidian.zhiancloud.model.riskcontrol.entity.TSignCategoryStaEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 风险管控-系统设置-警示标志类别设置
 */
public interface TWarSignCategoryStatusMapper extends BaseMapper<TWarSignCategoryStatusList> {

    Page<TWarSignCategoryStatusList> getTWarSignCategoryStatusList
            (@Param("searchkey") String searchkey, Long companyId);

    int addTWarSignCategoryStatus(@Param("data") TWarSignCategoryStatusList data);

    int updateTWarSignCategoryStatus(@Param("id") String id,
             @Param("data") TWarSignCategoryStatusList data);

    int deleteTWarSignCategoryStatus(List<String> list);

    Page<TWarSignCategoryStatusList> getExportTSignCategoryStaData
            (@Param("companyId") Long companyId,List<String> list);

    int addTSignCategoryStaEntity
        (@Param("companyId") Long companyId,@Param("userId") String userId,
         @Param("signCatSta") TSignCategoryStaEntity signCatSta);

}
